/*
 * @Author: 李惠婵 lihuichan@yxhyidc.com
 * @Date: 2022-09-30 16:04:00
 * @LastEditors: 李惠婵 lihuichan@yxhyidc.com
 * @LastEditTime: 2022-10-14 17:57:17
 * @FilePath: \robot-webd:\project\rural-revitalization-web2\src\api\screen\screen.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */


import request from '@/utils/request'
//可视化-全镇数据概况 
export function getCountBasic() {
    return request({
        url: '/screen/visualize/basic/countBasicData',
        method: 'get',
    })
}
//全镇基础信息概况 
export function getCountBasicInfo() {
    return request({
        url: '/screen/visualize/basic/countBasicInfo',
        method: 'get'
    })
}
//全镇企业实时统计
export function getCountIndustry() {
    return request({
        url: '/screen/visualize/investment/countIndustry',
        method: 'get'
    })
}
//乡镇特殊人群
export function getCountSpecial() {
    return request({
        url: '/screen/visualize/resident/countSpecial',
        method: 'get'
    })
}
//全镇人才学历分布
export function getCountEducation() {
    return request({
        url: '/screen/visualize/resident/countEducation',
        method: 'get'
    })
}
//全镇扶贫项目统计
export function getPovertyStatus() {
    return request({
        url: '/screen/visualize/poverty/countPovertyStatus',
        method: 'get'
    })
}
///获取当前租户系统信息
export function getSystemInfo() {
    return request({
        url: 'tenant/tenantSystemInfo',
        method: 'get'
    })
}

///获取事件统计
export function getEventStatistics(query) {
    return request({
        url: '/screen/visualize/event/statistics',
        method: 'get',
        params: query
    })
}

